//
//  AlbumRecord_Plays.m
//  FDFullscreenPopGestureDemo
//
//  Created by 曹曹 on 16/09/07
//  Copyright (c) forkingdog. All rights reserved.
//

#import "AlbumRecord_Plays.h"
#import "AlbumRecord.h"
#import "AlbumRecord_Dj_Info.h"

@implementation AlbumRecord_Plays

+ (NSDictionary *)objectClassInArray{
    return @{@"record" : [AlbumRecord class], @"record_dj_info" : [AlbumRecord_Dj_Info class]};
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"record"]) {
        _record = [self arrayWithClass:[AlbumRecord class] value:value];
    }
    if ([key isEqualToString:@"record_dj_info"]) {
        _record_dj_info = [self arrayWithClass:[AlbumRecord_Dj_Info class] value:value];
    }
}

@end
